home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Code / Chapter04 / test5.s3d < prev    next >
Text File  |  2000-07-27  |  1KB  |  49 lines

  1.  
  2. DEF Box01 Transform {
  3.    translation 0 0 0
  4.    children [
  5.       Transform {
  6.          rotation 0 -1 0 -0.7854
  7.          children [
  8.             Shape {
  9.                appearance [
  10.                   MultiAppearance {
  11.                      material Material {
  12.                         diffuseColor 0.03137 0.4314 0.5255
  13.                      }
  14.                   }
  15.                ]
  16.                geometry MultiMesh {
  17.                   coord DEF Box01-COORD Coordinate {
  18.                      point [
  19.                         -50   0   50
  20.                          50   0   50
  21.                         -50   0  -50
  22.                          50   0  -50
  23.                         -50 100   50
  24.                          50 100   50
  25.                         -50 100  -50
  26.                          50 100  -50
  27.                      ]
  28.                   }
  29.                   coordIndex [
  30.                      0 2 3 -1
  31.                      3 1 0 -1
  32.                      4 5 7 -1
  33.                      7 6 4 -1
  34.                      0 1 5 -1
  35.                      5 4 0 -1
  36.                      1 3 7 -1
  37.                      7 5 1 -1
  38.                      3 2 6 -1
  39.                      6 7 3 -1
  40.                      2 0 4 -1
  41.                      4 6 2 -1
  42.                   ]  
  43.                }
  44.             }
  45.          ]
  46.       }
  47.    ]
  48. }
  49.